home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 5 / Amiga Tools 5.iso / s / faa.scp < prev    next >
AmigaDOS Script File  |  1996-07-16  |  570b  |  27 lines

  1. .KEY p1,p2,p3,p4,p5,p6,p7,p8,p9
  2. .BRA {
  3. .KET }
  4. ;
  5. ; Afax:s/faa.scp - Replace your uulib:passwd faa entry with this
  6. ;
  7. echo >ram:scr1 {p1} {p2} {p3} {p4} {p5} {p6} {p7} {p8} {p9}
  8. afax:c/faa <null: >null: {p1} {p2} {p3} {p4} {p5} {p6} {p7} {p8} {p9}
  9. ;
  10. ; Print fax if FaxPrt set
  11. ;
  12. Afax:s/PrtLast
  13. ;
  14. ; Forward fax if FaxFwd set
  15. ;
  16. Afax:s/FwdLast
  17. ;
  18. ; Send mail to say fax arrived
  19. ;
  20. date >ram:scr
  21. Afax:S/SetLastFax
  22. if exists $LastFax
  23.   Afax:c/faxinfo $LastFax >>ram:scr
  24.   List NOHEAD DATES $LastFax >>ram:scr
  25. endif
  26. sendmail <ram:scr -t $username -f AmigaFax -s "Fax Received" -raw
  27.